package com.online.manage.domain;


import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import com.speedy.core.components.sequence.Sequence;


public class DictArgDim implements java.io.Serializable {
	
	/**
	 * 
	 **/
	private static final long serialVersionUID = -2890307536797548152L;
	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
    /**
     * id			db_column: ID 
     */	
	@Length(max=32)
	@Sequence(ref="uuidSequenceGenerator")		
	private java.lang.String id;
    /**
     * argKey			db_column: ARG_KEY 
     */	
	@NotBlank @Length(max=20)
		
	private java.lang.String argKey;
    /**
     * argValue			db_column: ARG_VALUE 
     */	
	@NotBlank @Length(max=40)
		
	private java.lang.String argValue;
    /**
     * argValueDesc			db_column: ARG_VALUE_DESC 
     */	
	@Length(max=60)
		
	private java.lang.String argValueDesc;
    /**
     * sequenceNumber			db_column: SEQUENCE_NUMBER 
     */	
	@NotNull 
		
	private java.lang.Integer sequenceNumber;
    /**
     * 1:有效 0：无效			db_column: IS_VALID 
     */	
	@NotNull 
		
	private java.lang.Integer isValid;
    /**
     * 层级(父ID)			db_column: PARENT_ID 
     */	
	@Length(max=32)
		
	private java.lang.String parentId;
	//columns END

	public void setId(java.lang.String id) {
		this.id = id;
	}
	public java.lang.String getId() {
		return this.id;
	}
	public void setArgKey(java.lang.String argKey) {
		this.argKey = argKey;
	}
	public java.lang.String getArgKey() {
		return this.argKey;
	}
	public void setArgValue(java.lang.String argValue) {
		this.argValue = argValue;
	}
	public java.lang.String getArgValue() {
		return this.argValue;
	}
	public void setArgValueDesc(java.lang.String argValueDesc) {
		this.argValueDesc = argValueDesc;
	}
	public java.lang.String getArgValueDesc() {
		return this.argValueDesc;
	}
	public void setSequenceNumber(java.lang.Integer sequenceNumber) {
		this.sequenceNumber = sequenceNumber;
	}
	public java.lang.Integer getSequenceNumber() {
		return this.sequenceNumber;
	}
	public void setIsValid(java.lang.Integer isValid) {
		this.isValid = isValid;
	}
	public java.lang.Integer getIsValid() {
		return this.isValid;
	}
	public void setParentId(java.lang.String parentId) {
		this.parentId = parentId;
	}
	public java.lang.String getParentId() {
		return this.parentId;
	}

	public String toString() {
		return new StringBuilder("DictArgDim [")
			.append("Id=").append(getId()).append(", ")
					.append("ArgKey=").append(getArgKey()).append(", ")
					.append("ArgValue=").append(getArgValue()).append(", ")
					.append("ArgValueDesc=").append(getArgValueDesc()).append(", ")
					.append("SequenceNumber=").append(getSequenceNumber()).append(", ")
					.append("IsValid=").append(getIsValid()).append(", ")
					.append("ParentId=").append(getParentId())
		.append("]").toString();
	}
	
}

